﻿@using Board.Models
@{
    ViewBag.Title = "Index";
}

<h2>Management Dashboard</h2>
@if (true)
{
    WebUser currentUser = Tools.CurrentUser;
<text>
    
<ul>
    <li>@Html.ActionLink("Account", (currentUser.HasSomeAdminPermission?"UserList":"UserDetail"), "Account")</li>
    <li>@Html.ActionLink("Units", "Unit")</li>
</ul>

</text>
}